from . import views
from django.urls import re_path

urlpatterns = [
re_path(r'^areas/$', views.AreasProvince.as_view()),
re_path(r'^areas/(?P<pk>[1-9]\d+)/$', views.SubAreasView.as_view()),
re_path(r'^addresses/create/$', views.CreateAddressView.as_view()),
re_path(r'^addresses/$', views.AddressView.as_view()),
re_path(r'^addresses/(?P<address_id>\d+)/$', views.UpdateDeleteAddress.as_view()),
re_path(r'^addresses/(?P<address_id>\d+)/default/$', views.DefaultAddress.as_view()),
re_path(r'^addresses/(?P<address_id>\d+)/title/$', views.ChangeAddressTitle.as_view()),
re_path(r'^password/$', views.ChangePassword.as_view()),

               ]